package com.exam.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.demo.controller.dto.UserDTO;
import com.exam.demo.entity.Student;
import com.exam.demo.entity.Teacher;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:23
 */

public interface StudentService extends IService<Student> {

    Page<Student> findPage(Page<Student> objectPage, String studentName);
    //导出
    HttpServletResponse export(HttpServletResponse response,String studentName) throws IOException;

    //导入
    boolean imp(MultipartFile file) throws IOException;

    UserDTO login(Student student);
}
